Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_add
date_add
DateTime::add alias: Add a certain amount of days, months, years, hours, minutes and seconds to a DateTime object.
Name:
date_add
Category:
Date and time
Programming Language:
php
One-line Description:
Add day, month, year, hour, minute, and second to date.
Related
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis
3
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
7
Similar Functions
idate
idate
Formatlocaltime/date
gmdate
gmdate
FormatGMT/UTCdate/ti
strftime
strftime
Formatlocaltime/date
date_diff
date_diff
AliasforDateTime::
date_offset_get
date_offset_get
AliasforDateTime::
date_parse
date_parse
Returnsanassociative
getdate
getdate
Getdate/timeinformat
date_default_timezone_set
date_default_timezone_set
Setthedefaulttimezon
Popular Articles
How to Use the date_add Function in PHP for Time Interval Calculations? Practical Applications Shared
What should you pay attention to when using PHP date_add function to handle leap year dates? Tips and Case Analysis